<template>
  <div>
    <div class="MineView">
      <div class="container">
        <div class="headerbox">
          <div class="header">
            <div class="head">
              <a href=""><img src="../assets/img/top_ic_news.png" alt=""></a>
              <a href=""><img src="../assets/img/top_ic_set.png" alt=""></a>
              <p @click="quit">退出</p>
            </div>
          </div>
        </div>

        <div class="loginbox">
          <div class="login">
            <a href=""><img src="../assets/个人头像.jpg" alt=""></a>
            <div class="text">
              <h2>椒鱼了</h2>
              <!-- <div class="txt">限时注册领取 <span>50</span> 本开馆纪念藏书</div> -->

            </div>
          </div>

          <div class="bon">
            <a href=""><i></i></a>
          </div>

        </div>

        <div class="timebox">
          <div class="numberbox">
            <div>
              0
            </div>
            <p>藏书贝</p>
          </div>
          <div class="numberbox">
            <div>
              0
            </div>
            <p>知识币</p>
          </div>
          <div class="numberbox">
            <div>
              0分钟
            </div>
            <p>本月读书</p>
          </div>
        </div>

        <div class="content">
          <div class="bannerbox">
            <div class="banner">
              <div class="imgbox">
                <a href=""><img src="../assets/img/find_ic_vip.png" alt=""></a>

                <div class="text">
                  <h2>深度阅读VIP</h2>
                  <p>升级vip,享更多特权</p>
                </div>
              </div>

              <div class="textbox">
                <a href="">会员中心</a>
              </div>
            </div>
          </div>

          <div class="Librarybox">
            <div class="title">
              我的书馆
            </div>

            <div class="bookbox">
              <div class="imgbox">
                <a href=""><img src="../assets/img/mine_big_history.png" alt=""></a>
                <a href="">藏书</a>
              </div>

              <div class="imgbox">
                <a href=""><img src="../assets/img/知识.png" alt=""></a>
                <a href="">知识</a>
              </div>

              <div class="imgbox">
                <a href=""><img src="../assets/img/共读.png" alt=""></a>
                <a href="">共读</a>
              </div>

              <div class="imgbox">
                <a href=""><img src="../assets/img/mine_big_history.png" alt=""></a>
                <a href="">书单</a>
              </div>


            </div>
          </div>

          <div class="Librarybox">
            <div class="title">
              我的账户
            </div>

            <div class="book-box">
              <div class="img-box">
                <a href=""><img src="../assets/img/mine_ic_bullet.png" alt=""></a>
                <a href="">钱包</a>
              </div>

              <router-link tag="div" to="/OrderView" class="img-box">
                <a ><img src="../assets/img/订单.png" alt=""></a>
                <a >订单</a>
              </router-link>
              <div class="img-box">
                <a href=""><img src="../assets/img/预约.png" alt=""></a>
                <a href="">预约</a>
              </div>

              <div class="img-box">
                <a href=""><img src="../assets/img/礼物.png" alt=""></a>
                <a href="">礼物</a>
              </div>

              <div class="img-box">
                <a href=""><img src="../assets/img/卡券.png" alt=""></a>
                <a href="">卡券</a>
              </div>


              <div class="img-box">
                <a href=""><img src="../assets/img/mine_ic_bullet.png" alt=""></a>
                <a href="">勋章</a>
              </div>









            </div>

          </div>

          <div class="Librarybox">
            <div class="title">
              福利专区
            </div>
            <div class="imagebox">
              <a href=""><img src="../assets/img/赚知识币.jpg" alt=""></a>
              <a href=""> <img src="../assets/img/免费领书_03.jpg" alt=""></a>
            </div>


            <div class="exchangebox">
              <div class="goodbook">
                <div class="img">
                  <a href=""><i></i></a>
                  <a href="">兑换好书</a>
                </div>
                <p>书盈四壁超300本经典好书等你领取</p>
              </div>

              <div class="exchange">
                <a href="">去兑换</a>
              </div>
            </div>
          </div>

          <div class="Librarybox">
            <div class="title">
              我的功能
            </div>

            <div class="book-box">
              <div class="img-box">
                <a href=""><img src="../assets/img/捐赠.png" alt=""></a>
                <a href="">我的捐赠</a>
              </div>

              <div class="img-box">
                <a href=""><img src="../assets/img/关注.png" alt=""></a>
                <a href="">关注</a>
              </div>
              <div class="img-box">
                <a href=""><img src="../assets/img/粉丝.png" alt=""></a>
                <a href="">粉丝</a>
              </div>

              <router-link to="/CollectionView" class="img-box">
                <a href=""><img src="../assets/img/收藏.png" alt=""></a>
                <a href="">收藏</a>
              </router-link>

              <div class="img-box">
                <a href=""><img src="../assets/img/阅历.png" alt=""></a>
                <a href="">阅历</a>
              </div>


              <div class="img-box">
                <a href=""><img src="../assets/img/知识大脑.png" alt=""></a>
                <a href="">知识大脑</a>
              </div>

              <div class="img-box">
                <a href=""><img src="../assets/img/邀请好友.png" alt=""></a>
                <a href="">邀请好友</a>
              </div>

              <div class="img-box">
                <a href=""><img src="../assets/img/mine_big_read.png" alt=""></a>
                <a href="">帮助与反馈</a>
              </div>

            </div>

          </div>
        </div>




      </div>

    </div>
  </div>
</template>

<script>
export default {
  methods:{
    quit(){
      window.localStorage.removeItem('number'," ")
			this.$router.push('/LoginView')
    }
  }
}
</script>

<style lang="scss" scoped>
.MineView {
  .container {
    height: 848px;

    .content {
      background-color: #fbfbfb;
      padding-bottom: 6px;
    }

    .foot-box {
      .footbox {
        display: flex;
        justify-content: space-around;
        align-items: center;
      }
    }

    .footbox {
      .footer {
        display: flex;
        flex-direction: column;

        .img {
          width: 25px;
          height: 25px;

          img {
            width: 100%;
            height: 100%;
          }
        }

        a {
          font-size: 12px;
          color: #8a929e;

          &.bon {
            color: #478d6b;
          }
        }

        &:nth-child(3) {
          .img {
            width: 55px;
            height: 55px;
          }
        }
      }
    }
  }

  .headerbox {
    width: 100%;
    height: auto;
    background: url(../assets/img/背景.webp) no-repeat;
    background-size: 100%;
    position: fixed;
    top: 0px;
    padding-bottom: 14px;

    .header {
      padding-top: 20px;

      .head {
        display: flex;
        padding-right: 14px;
        justify-content: flex-end;

        a {
          &:nth-child(1) {
            margin-right: 12px;
          }

          img {
            width: 20px;
            height: 20px;
          }
        }

        p{
          font-size: 16px;
          font-weight: bold;
          margin-left: 12px;
        }
      }
    }
  }

  .loginbox {
    margin-top: 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 22px;

    .login {
      display: flex;

      a {
        img {
          width: 40px;
          height: 40px;
          border: 1px solid #99cfb5;
          border-radius: 50px;
        }
      }

      .text {
        margin-left: 18px;

        h2 {
          font-size: 18px;
        }

        .txt {
          padding-top: 4px;
          font-size: 10px;
          color: #828a97;

          span {
            color: #4b8f6e;
          }
        }
      }
    }

    .bon {
      a {
        i {
          width: 10px;
          height: 12px;
          background: url(../assets/img/icon_more_black.png) center center no-repeat;
          background-size: 100%;
          display: inline-block;
        }
      }
    }
  }

  .timebox {
    padding-top: 20px;
    display: flex;
    justify-content: space-around;

    .numberbox {
      text-align: center;

      &>div {
        font-size: 18px;
        font-weight: bold;
      }

      &>p {
        font-size: 10px;
        color: #9da3ad;
      }
    }
  }

  .bannerbox {
    padding-left: 10px;
    padding-right: 10px;
    padding-top: 10px;

    .banner {
      height: 52px;
      background: url(../assets/img/wallet_head.webp) no-repeat;
      background-size: 100%;
      border-radius: 12px;
      display: flex;
      padding-left: 20px;
      padding-right: 20px;
      justify-content: space-between;
      align-items: center;

      .imgbox {
        display: flex;
        align-items: center;

        a {
          img {
            width: 45px;
            height: 45px;
          }
        }

        .text {
          padding-left: 8px;

          h2 {
            font-size: 14px;
            color: #402201;
          }

          p {
            font-size: 10px;
            color: #997953;
          }
        }
      }

      .textbox {
        a {
          text-align: center;
          padding: 7px 14px;
          border-radius: 50px;
          background-color: #fefaea;
          font-size: 14px;
          font-weight: bold;
          color: #7a6449;
        }
      }
    }
  }

  .content {
    .Librarybox {
      margin-left: 10px;
      margin-right: 10px;
      margin-top: 10px;
      margin-bottom: 10px;
      background-color: #fff;

      .title {
        padding-left: 12px;
        padding-top: 6px;
        font-weight: bold;
        font-size: 18px;
      }
    }
  }

  .Librarybox {
    .bookbox {
      margin-top: 10px;
      display: flex;
      justify-content: space-around;
      padding-bottom: 6px;

      .imgbox {
        display: flex;
        flex-direction: column;
        align-items: center;

        a {
          font-size: 10px;
          color: #0c1a32;

          img {
            width: 20px;
            height: 24px;
          }
        }
      }
    }

    .book-box {
      display: flex;
      flex-wrap: wrap;
      margin: 8px 0px;

      .img-box {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 25%;
        margin-bottom: 20px;

        a {
          font-size: 10px;
          color: #0c1a32;

          img {
            width: 20px;
            height: 24px;
          }
        }
      }
    }

    .imagebox {
      display: flex;
      padding-left: 12px;
      padding-right: 12px;
      padding-top: 10px;
      justify-content: space-between;

      a {
        img {
          width: auto;
          height: 47px;
        }
      }
    }

    .exchangebox {
      display: flex;
      margin-top: 11px;
      padding-left: 12px;
      padding-right: 12px;
      align-items: baseline;
      justify-content: space-between;

      .goodbook {
        .img {
          margin-bottom: 4px;
          display: flex;

          a {
            color: #0c1a32;
            padding-right: 4px;

            i {
              width: 20px;
              height: 20px;
              background: url(../assets/img/exchange_start.png) center center no-repeat;
              background-size: 100%;
              display: inline-block;
            }
          }
        }

        p {
          color: #a5afc0;
          font-size: 10px;
        }
      }

      .exchange {
        a {
          padding: 4px 10px;
          text-align: center;
          color: #fe7a1d;
          border: 1px solid #fe7a1d;
          border-radius: 50px;
        }
      }
    }
  }

  /* 福利专区 */
  /* 底部 */
  .foot-box {
    width: 100%;
    position: fixed;
    bottom: -3px;
    background-color: #fff;
    padding-top: 4px;
    padding-bottom: 7px;
    box-shadow: 0px 3px 1px 0px rgba(0, 0, 0, 0.21);
  }

}
</style>